<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>${self.title()}</title>
    <link href="/static/client/css/base.css" rel="stylesheet" />
    <link href="/static/dashboard/css/bootstrap.min.css" rel="stylesheet">
    <link href="/static/dashboard/css/base.css" rel="stylesheet">
    ${self.css()}
</head>
<body>
<header>电影推荐系统<span class="hello">你好，${username}</span></header>
<div>
    ${self.content()}
</div>
<%! from django.urls import reverse %>
<footer>
        <ul>
            <li><a href="${reverse('dashboard_index')}">设置</a></li>
            <li><a class="chat">聊天</a></li>
            <li><a href="${reverse('CF')}">电影推荐</a></li>
            <li><a href="${reverse('client_logout')}">注销</a></li>
        </ul>
</footer>
</body>

<script src="/static/dashboard/js/jquery-1.12.4.min.js"></script>
${self.js()}
</html>

<%def name="title()"></%def>
<%def name="js()"></%def>
<%def name="css()"></%def>
<%def name="content()"></%def>
